package com.bootdo.front.dao;

import com.bootdo.front.domain.EducationDO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 
 * @author wjs
 * @email 1992lcg@163.com
 * @date 2020-02-19 17:07:26
 */
@Mapper
public interface EducationDao {

	EducationDO get(Integer id);
	
	List<EducationDO> list(Map<String,Object> map);
	
	int count(Map<String,Object> map);
	
	int save(EducationDO education);
	
	int update(EducationDO education);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	int removeByResumeId(@Param("resumeId") Long resumeId);


	List<EducationDO>getByResumeId(@Param("resumeId")  Long resumeId);
}
